n85= .timer17 0 1 /titlebar %logo $chr(36) $+ atime on $chr(36) $+ day $chr(36) $+ adate
n86=}
n87=longip /echo 3 ***Converted $$1 to $longip($$1)
n88=awayon {
n89= .enable #away
n90= set %away $atime on $day $date
n91= set %reason $$?="Enter your away message:"
n92= set %msg 0 | .timer12 0 600 ame has been away since %away Message: %reason /msg me for details on how to page me. %logo | /ame has been away since %away Message: %reason /msg me for details on how to page me.%logo | /set %awsecs 0 | /.timer110 0 1 /inc %awsecs
n93= if (%autoa == off) { .timer134 off }
n94=}
n95=awback {
n96= if (%clock == off) { clock }
n97= if (%clock == on) { away }
n98= away
n99= .disable #away
n100= rlevel 2 | rlevel 3 | rlevel 4 | .timer12 off | .timer109 off | .timer110 off | .timer111 off
n101= ame is back! I left at %away and have been gone for $duration(%awsecs) Message: %reason
n104= echo 6 You were away for $duration(%awsecs) Message: %reason Since: %away | /unset %away | /unset %reason | /unset %awsecs
n105= .notice $me %msg people msged you when you were away.
n106= {
n107= if (0 isin %msg) {
n108= echo 2 You have no away messages
n109= }
n110= if (0 !isin %msg) {
n111= write $mircdir $+ away.txt /echo 2 End of All Messages
n112= echo 2 Listing away messages...
n113= .timer58 1 60 /.remove $mircdir $+ away.txt
n114= play -c $mircdir $+ away.txt
n115= }
n116= }
n117= unset %msg
n118=}
n119=autoa /set %reason Auto-away Activated. Idle for $duration(%auto) %logo | /away %reason | /if (%autoa == off) { .timer134 off } | /echo 4 -a Auto-away Activated. Idle for $duration(%auto) | /.enable #away | /floodpro | /set %away $atime on $day $adate | /set %msg 0 | /.timer12 0 1200 /ame has been away since %away Message: %reason /msg me for details on how to page me. | /ame has been away since %away Message: %reason /msg me for details on how to page me. %logo | /set %awsecs 0 | /.timer110 0 1 /inc %awsecs
n120=echo //echo 2 -s [zen] $+ $$1 $+ *2
n121=email /say my email is 4 $+ %em
n122=/join //set %join *1 | set %join $replace(%join,$chr(32),$chr(160)) | join %join | unset %join | if (# !isin $parm1) echo 4(Syntax: /join #testing spaces are fun!)
n123=rcon /server $server $port
n124=; ---------------------Mass Commands:
n125=Massk { set %kick.var 1 | :next | if ($nick(%kick.var,$$1) == $null) { goto done } if ($nick(%kick.var,$$1) == $me) { inc %kick.var 1 | goto next } | kick $$1 $nick(%kick.var,$$1) Mass Kick of $$1 | inc %kick.var 1 | goto next | :done }
n126=Massb { set %b 1 | :next | if ($nick(%b,#) == $null) echo 3 *** Mass Kick Complete | if (nick(%b,#) == $me) { inc %k 1 | goto next } | ban $nick(%k,#) 3 | kick # $nick(%k,#) 2[zen]3 Mass Kick/Ban of # | inc %b 1 | goto next }
n127=Masso { if ($me !isop #) echo 4 *** You must have ops to do that... | set %o 0 | set %j 0 set %nicks | :next | inc %o 1 | %nick = $nopnick(%o,#) | if (%nick == $null) { mode # +oooo %nicks | halt } | if (%nick == $me) goto next | set %nicks %nicks %nick | inc %j 1 | if (%j == 4) { mode # +oooo %nicks | set %j 0 | set %nicks } | goto next }
n128=Massdo { if ($me !isop #) echo 4 *** You must have ops to do that... | set %do 0 | set %j1 0 set %nicks | :next | inc %do 1 | %nick = $nopnick(%o,#) | if (%nick == $null) { mode # -oooo %nicks | halt } | if (%nick == $me) goto next | set %nicks %nicks %nick | inc %j1 1 | if (%j == 4) { mode # -oooo %nicks | set %j 0 | set %nicks } | goto next }
n129=Massi { set %i $nick(0,#) | :next | if ($nick(%i,#) != $me) invite $nick(%i,#) $1 | dec %i | if %i > 1 goto next | halt }